package com.example.demo.entity;

import lombok.Data;

import java.sql.Timestamp;


@Data
public class User {
    private Integer id;
    private String name;
    private String password;
    private String time;
    private java.sql.Timestamp creat_time;
    //private Timestamp refresh_time;
    private float progress;
    private String path;


    public User(Integer id, String name, String password, String time, float progress, String path, java.sql.Timestamp creat_time) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.time = time;
        this.creat_time = creat_time;
        this.progress = progress;
        this.path = path;

    }

    public User() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Timestamp getCreat_time() {
        return creat_time;
    }

    public void setCreat_time(Timestamp creat_time) {
        this.creat_time = creat_time;
    }

    public float getProgress() {
        return progress;
    }

    public void setProgress(float progress) {
        this.progress = progress;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
